<?php
/**
 * Intreface DAO
 *
 * @author: http://phpdao.com
 * @date: 2013-11-23 21:12
 */
interface DeportistaDAO{

	/**
	 * Get Domain object by primry key
	 *
	 * @param String $id primary key
	 * @Return Deportista 
	 */
	public function load($id);

	/**
	 * Get all records from table
	 */
	public function queryAll();
	
	/**
	 * Get all records from table ordered by field
	 * @Param $orderColumn column name
	 */
	public function queryAllOrderBy($orderColumn);
	
	/**
 	 * Delete record from table
 	 * @param deportista primary key
 	 */
	public function delete($id_deportista);
	
	/**
 	 * Insert record to table
 	 *
 	 * @param Deportista deportista
 	 */
	public function insert($deportista);
	
	/**
 	 * Update record in table
 	 *
 	 * @param Deportista deportista
 	 */
	public function update($deportista);	

	/**
	 * Delete all rows
	 */
	public function clean();

	public function queryByNombresDeportista($value);

	public function queryByApellidosDeportista($value);

	public function queryByFechaNacimiento($value);

	public function queryByLugarNacimiento($value);

	public function queryByNacionalidad($value);

	public function queryByEstatura($value);

	public function queryByPeso($value);

	public function queryByFotoDeprtista($value);

	public function queryByIdDeporte($value);

	public function queryByIdEventoDep($value);

	public function queryByEstadoDeportista($value);


	public function deleteByNombresDeportista($value);

	public function deleteByApellidosDeportista($value);

	public function deleteByFechaNacimiento($value);

	public function deleteByLugarNacimiento($value);

	public function deleteByNacionalidad($value);

	public function deleteByEstatura($value);

	public function deleteByPeso($value);

	public function deleteByFotoDeprtista($value);

	public function deleteByIdDeporte($value);

	public function deleteByIdEventoDep($value);

	public function deleteByEstadoDeportista($value);


}
?>